package com.campusexpresspickup.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 物流订单表
 * </p>
 *
 * @author lq
 * @since 2021-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class LogisticsOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 接单时间
     */
    private Date startTime;

    /**
     * 送达时间
     */
    private Date deliveryTime;

    /**
     * 完成时间
     */
    private Date finishTime;

    /**
     * 楼号
     */
    private String floor;

    /**
     * 房号
     */
    private String roomNo;

    /**
     * 取件码
     */
    private Integer pickupCode;

    /**
     * 快递公司
     */
    private String courierCompany;

    /**
     * 用户ID
     */
    private Integer userId;

    //0:在库,1：在途,2:已完成,3:送达
    private Integer status;

    /**
     * 快递员ID
     */
    private Integer courierId;

    private String phone;
}
